package com.example.compreshensiveshop.service;

import com.example.compreshensiveshop.dto.CategoryAddDTO;
import com.example.compreshensiveshop.dto.CategoryDeleteDTO;
import com.example.compreshensiveshop.dto.CategoryUpdateDTO;
import com.example.compreshensiveshop.vo.CategoryVO;

import java.util.List;

/**
 * Category Service Interface
 */
public interface CategoryService {

    List<CategoryVO> getPublicCategory();

    List<CategoryVO> getSellerCategory(Long sellerId);

    void addCategory(CategoryAddDTO categoryAddDTO);

    void updateCategory(CategoryUpdateDTO categoryUpdateDTO);

    boolean deleteCategory(CategoryDeleteDTO categoryDeleteDTO);


    String queryCategoryNameById(Long id);


}